
 //ts对路由的验证(路由中增加对ts的支持而已)
import 'vue-router'
import { IMenu } from '#/menu'

declare module 'vue-router' {
  interface RouteMeta {
      //路由验证
      auth?:boolean,
      //是否是游客
      guest?:boolean,
      menu?:IMenu  
      //权限
      permission?:string
      enterClass?:string,
      leaveClass?:string
  }
}